package com.parktech.sun.domain.service.notice;

import com.parktech.sun.domain.model.notice.Notice;
import com.parktech.sun.domain.repository.Page;
import com.parktech.sun.domain.service.BaseService;

import java.util.List;

/**
 * User: Think
 * Date: 11-1-12
 * Time: 下午7:08
 */
public interface NoticeService extends BaseService<Notice> {

    Page<Notice> search(String title, Integer publishStatus, Page page);

    Page pageBy(Page page);

    List<Notice> getTopN(int n);
}
